Welcome to With Class 2.0 1. Installing With Class The following are the minimum system requirements for With Class: - 80386 processor or higher (80486 or higher recommended) - MS-Windows 3.1 or higher - Mouse that supports MS-Windows - VGA monitor - 1024x768 or higher resolution recommended To initially install and run With Class, follow these steps: >> Copy all With Class files into a directory, e.g. withclas >> Copy MFCOLEUI.DLL and other dll's into C:\WINDOWS\SYSTEM >> Copy DATADIC1.DOT to the WINWORD\TEMPLATE directory if Microsoft Word 6.0 is present >> Ensure CTL3D.DLL in your path, e.g. C:\WINDOWS\SYSTEM is in your autoexec.bat path statement >> Ensure the following files are in the C:\WINDOWS\SYSTEM directory: COMPOBJ.DLL, STORAGE.DLL, OLE2.DLL, OLE2DISP.DLL, OLE2NLS.DLL, CTL3D.DLL, AND MFCOLEUI.DLL. >> In Windows Program Manager, create the With Class icon by selecting "File New", "Program Icon", and entering WC2.EXE >> In Windows, run With Class from Windows, e.g. "File Run WC2.EXE" or double click the With Class icon To install With Class from a disk provided from MicroGold: Type from windows program manager FILE | RUN a:install.exe. COPY *.dll c:\windows\system. With Class file creates wc2.ini in the windows directory. If you have problems launching With Class, delete WC2.INI so that it is automatically regenerated. If you have video problems, try using standard VGA (640 x 480) or the most up-to-date video drivers available for your video card. Ensure you are using the dll's provided with the product. Older version dll's may be on your system in another directory and may be invoked. If you have any installation problems, contact MicroGold Software at 71543.1172@compuserve.com. Zooming anything other than at 100% leaves traces of graphics. 2. Primary Files in this release - readme.txt Installation Instructions - wc2.exe With Class Program - wc2.hlp With Class Help Program - *.dll DLL's used by With Class Program - wc2tutor.wri Using With Class and C++ Tutorial - codegen.wri Instructions on Generating Code Using Scripts - *.sct Text Script Files for custom reports and code generation - *.omt Class diagrams to test code generation scripts - datadic1.dot Microsoft Word 6.0 document template for a data dictionary 2. Using With Class Scripts >> Launch With Class from Windows >> Open a class diagram, e.g. cppcar.omt >> Select "Generate - Generate Report" >> Enter a report name, e.g. REPORT.TXT >> Select RPTALL.SCT to generate the report >> Select "File - Edit File" and open REPORT.TXT Here is a list of all the script variables that may be used to create custom reports and code generation. CLASS_NAME or CLASS CLASS_CARDINALITY CLASS_CONCURRENCY CLASS_PERSISTENCE CLASS_ACCESS CLASS_FILENAME CLASS_AUTHOR_INITIALS CLASS_LIBRARY_BASE_CLASS CLASS_INVARIANT CLASS_DESCRIPTION INCLUDE_FILE ATTRIBUTE_NAME ATTRIBUTE_TYPE ATTRIBUTE_ACCESS ATTRIBUTE_MAX_VALUE ATTRIBUTE_MIN_VALUE ATTRIBUTE_CONSTRAINT ATTRIBUTE_INITIAL_VALUE ATTRIBUTE_INFO OPERATION_NAME OPERATION_RETURN_TYPE CPP_OPERATION_PARAMETERS OPERATION_ACCESS OPERATION_TRANSFORMATION OPERATION_PRECONDITION OPERATION_POSTCONDITION OPERATION_EXCEPTION_TYPE OPERATION_EXCEPTION_NAME OPERATION_CLASSIFICATION OPERATION_CONCURRENCY OPERATION_CODE OPERATION_COMMENT1 OPERATION_COMMENT2 OPERATION_COMMENT3 ASSOCIATION_CLASS ASSOCIATION_NAME AGGREGATION_CLASS AGGREGATION_NAME ASSOCIATION_ONE_CLASS ASSOCIATION_ONE_NAME AGGREGATION_ONE_CLASS AGGREGATION_ONE_NAME ASSOCIATION_MANY_CLASS ASSOCIATION_MANY_NAME AGGREGATION_MANY_CLASS AGGREGATION_MANY_NAME BASE_CLASS CPP_OPERATIONS CPP_OPERATION_VIRTUAL CPP_OPERATION_PURE_VIRTUAL CPP_OPERATION_CONSTANT CPP_OPERATION_STATIC CPP_ATTRIBUTES CPP_BASE_CLASSES CPP_AGGREGATIONS CPP_ASSOCIATIONS PASCAL_OPERATION_PARAMETERS PASCAL_OPERATION_PARAMETERS_PAREN PASCAL_OPERATION_PARAMETERS_WITH_VAR PASCAL_OPERATION_RETURN_TYPE PASCAL_OPERATION_VIRTUAL ADA_OPERATION_PARAMETERS SMALLTALK_OPERATION_PARAMETERS ACTOR_OPERATION_PARAMETERS CLASS_PERSISTENT - prints persistent LITERAL_SYMBOL NO_RETURN NO_REPEAT DELETE_LAST_SYMBOL TRUNCATE_EIGHT [ ] // anything placed in between these will be repeated for every // attribute, operation, constant, etc. $ // use this to separate out keywords (above) from text that you wish to run in juxtaposition. 3. Creating a Data Dictionary in Microsoft Word 6.0 You can create a text data dictionary by running the script rptdict.sct. However, it is recommended that you create your data dictionary in Microsoft Word 6.0 to be able to sort and set fonts. To create a data dictionary in Microsoft Word 6.0 follow these steps: >> Copy the Microsoft Word 6.0 template datadic1.dot into the Winword\template directory >> Launch With Class from Windows >> Open a class diagram, e.g. cppcar.omt >> Select "Generate - Generate Report" >> Enter a report name, e.g. datadict.txt >> Select worddic1.sct to generate the text version of the data dictionary >> Launch Microsoft Word 6.0 >> Select "File - New" and Template datadic1 (datadic1.dot) >> Select "Insert - Database" >> Place cursor below the headings >> Select "Get Data" and Text Files (*.txt) and datadict.txt (generated data dictionary text file) >> Select "Insert Data" and All to import the data dictionary entries. >> Delete blank rows, set font sizes, sort as desired. 4. Training and Consulting Services using With Class RCF Associates offers custom training and consulting services using With Class with object-oriented design projects with object- oriented languages. The following services and products are offered. - Custom model development (drawings and specifications) for a system based upon your requirements statement and block diagram. - Executable prototype for a system in C++, Eiffel, Ada, and other languages based upon your model (diagrams and specifications). - Custom With Class scripts for reports and code generation for your specific language, class library, and coding standards. - On-site training course "Object-Oriented Modeling with CASE and C++". Course is one to five days customized to your requirements including modeling your system during the course. - "Object-Oriented Modeling with CASE and C++" training manual (200 pages) and training course viewgraph masters (400 pages) both with 4 complete "charter to C++" case studies. - VHS Training Videos on Object-Oriented Modeling and Using With Class and StateMaker. Customer satisfaction is guaranteed. For information contact Richard Felsinger, RCF Associates, 960 Scottland Dr, Mt Pleasant, SC 29464 803-881-3648 e-mail 71162.755@compuserve.com 5. All users are encouraged to register this shareware for $59.00 at 1-908-722-6438 after 30 days. Users may order the With Class Professional Version with unlimited number of classes and laser printed user documentation for $149.00 plus $5.00 shipping and handling. Each With Class Profession comes with the StateMaker CASE tool for creating state transition diagrams and generating C/C++ code from the diagrams. StateMaker without With Class Profession is $99.00 plus $5.00 shipping and handling. Thank you for trying With Class. Michael Gold, MicroGold Software, 311 East 81st Street 1RE, New York, New York 10028 Telephone 1-212-744-8688 e-mail 71543,1172@compuserve.com